//
//  FirstViewController.h
//  NewTimer
//
//  Created by Moonbeom Kwon on 12. 7. 6..
//  Copyright (c) 2012년 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AudioToolbox/AudioToolbox.h>

@interface FirstViewController : UIViewController
{
    IBOutlet UITextField *preAlarm;
    IBOutlet UITextField *slideAlarm;
    IBOutlet UITextField *numberOfSlide;
    IBOutlet UITextView *resultInShow;
    IBOutlet UISwitch *preAlrView;
    
    BOOL isEnd;
    
    NSThread *t1;
    UIAlertView *alert;
}

- (IBAction) backgroundTap: (id)sender;
- (IBAction) startShowTime: (id)sender;
- (IBAction) endShowTime: (id)sender;
- (IBAction) changeSwitch: (id)sender;
- (void) threadVibrateFunc:(NSString *)arg;
- (void) endThread;


@property (nonatomic, retain) IBOutlet UITextField *preAlarm;
@property (nonatomic, retain) IBOutlet UITextField *slideAlarm;
@property (nonatomic, retain) IBOutlet UITextField *numberOfSlide;
@property (nonatomic, retain) IBOutlet UITextView *resultInShow;
@end
